/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.material.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.fx.material.entity.FxMaterialinfo;
import com.vivo.fx.material.dao.FxMaterialinfoDao;

/**
 * 物料信息Service
 * @author jyangye
 * @version 2017-11-27
 */
@Service
@Transactional(readOnly = true)
public class FxMaterialinfoService extends CrudService<FxMaterialinfoDao, FxMaterialinfo> {

	public FxMaterialinfo get(String id) {
		return super.get(id);
	}
	
	public List<FxMaterialinfo> findList(FxMaterialinfo fxMaterialinfo) {
		return super.findList(fxMaterialinfo);
	}
	
	public Page<FxMaterialinfo> findPage(Page<FxMaterialinfo> page, FxMaterialinfo fxMaterialinfo) {
		return super.findPage(page, fxMaterialinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(FxMaterialinfo fxMaterialinfo) {
		super.save(fxMaterialinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(FxMaterialinfo fxMaterialinfo) {
		super.delete(fxMaterialinfo);
	}
	
}